Refactor: user 패키지 구조 개선 (#276) #280
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 개요
domain.user패키지의 책임이 혼재되어 있던 구조를 개선했습니다.auth), 계정 관리(account), 공통 리소스(common)를 분리하여 도메인 응집도를 높이고, 의존성을 명확히 했습니다.🔨 작업 내용
1. 패키지 구조 리팩토링
domain.user.auth→ 인증, 로그인, 토큰, 이메일 관련 기능domain.user.account→/users/me기반 내 계정 관리 기능domain.user.common→ 공용 엔티티, 레포지토리, 유틸, Enum2. 주요 클래스 이동 및 명칭 변경
common.enums,controller.docs분리CookieUtil,PasswordValidator를domain.user.common.util로 이동하여 사용자 도메인 내 응집성 강화UserController→AccountControllerUserService→AccountService🔗 관련 이슈
Closes #276
📝 참고 사항
✅ 체크리스트